<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="css/common.css"/>
    <link rel="stylesheet" href="css/my_youhuijuan.css"/>
</head>
<body>
<div id="header">
    <p>我的优惠劵</p>
    <span class="back"><a href="javascript:;window.history.go(-1)">返回</a></span>
    <span class="right_text"><a href="youhui_active.html">领劵</a></span>
</div>
<div id="main">
    <div class="tab">
        <p class="active">未使用</p>
        <p><a href="youhuijuan_used.html">已使用</a></p>
    </div>
    <div class="content">
        <div class="load"><img src="imgs/loading.gif" alt=""/></div>
    </div>
    <div class="bot_loading" style="bottom: 0">加载中...</div>
</div>
<script id="list" type="text/html">
    {{each data value}}
    <div class="list">
    <div class="left"><img src="imgs/vr.png" alt=""/></div>
    <ul class="center">
        <li>{{value.title}}</li>
        {{if value.type==1}}
        <li><span>{{value.discount}}</span> 折</li>
        {{else}}
        <li><span>{{value.cash}}</span> 元</li>
        {{/if}}
        <li>有效期至<i>{{value.end_time}}</i></li>
    </ul>
    <p class="right"><a href="erweima.html?fid={{value.id}}">查看详情</a></p>
    </div>
    {{/each}}
</script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/config.js"></script>
<script src="js/template.js"></script>
<script src="js/ajax.js"></script>
<script src="js/my_favorable.js"></script>
</body>
</html>